package com.hunter.jerrymouse.request;

import java.lang.annotation.Annotation;

/**
 * Created by hunter
 * <p>
 * 请求参数, 即方法的参数信息, 没有用反射的parameter
 */
public class RequestParameter {

    /**
     * 参数类型
     */
    private Class<?> classType;

    /**
     * 参数名
     */
    private String name;

    /**
     * 参数的注解
     */
    private Annotation[] annotations;

    public Class<?> getClassType() {
        return classType;
    }

    public void setClassType(Class<?> classType) {
        this.classType = classType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Annotation[] getAnnotations() {
        return annotations;
    }

    public void setAnnotations(Annotation[] annotations) {
        this.annotations = annotations;
    }
}
